package pushup.view.providers;

import java.util.List;

import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;

import pushup.model.Type;


public class ViewContentProvider implements IStructuredContentProvider {

	public void inputChanged(Viewer v, Object oldInput, Object newInput) {
	
	}
	
	public void dispose() {
	
	}
	
	@SuppressWarnings("unchecked")
	public Object[] getElements(Object parent) {
		 return ((List<Type>) parent).toArray();
	}
	
}
